package org.jeecg.modules.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;

@Data
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="tig_device_alarm", description="设备报警信息")
public class TigDeviceAlarm implements Serializable {
    /**主键*/
    @ApiModelProperty(value = "主键")
    private java.lang.String id;
    /**所属部门*/
    @ApiModelProperty(value = "所属部门")
    private java.lang.String sysOrgCode;
    /**设备名称*/
    @Excel(name = "设备名称", width = 15)
    @ApiModelProperty(value = "设备名称")
    private java.lang.String name;
    /**设备IP*/
    @Excel(name = "设备IP", width = 15)
    @ApiModelProperty(value = "设备IP")
    private java.lang.String ipAddr;
    /**设备端口*/
    @Excel(name = "设备端口", width = 15)
    @ApiModelProperty(value = "设备端口")
    private java.lang.Integer port;
    /**在线状态*/
    @Excel(name = "在线状态", width = 15, dicCode = "yn")
    @Dict(dicCode = "yn")
    @ApiModelProperty(value = "在线状态")
    private java.lang.Integer onStatus;
    /**上线时间*/
    @Excel(name = "上线时间", width = 15)
    @ApiModelProperty(value = "上线时间")
    private java.util.Date onTime;
    /**离线时间*/
    @Excel(name = "离线时间", width = 15)
    @ApiModelProperty(value = "离线时间")
    private java.util.Date offTime;
    /**影子名称*/
    @Excel(name = "影子名称", width = 15)
    @ApiModelProperty(value = "影子名称")
    private java.lang.String shadowName;
    /**所属产品*/
    @Excel(name = "所属产品", width = 15, dictTable = "tig_product", dicText = "name", dicCode = "id")
    @Dict(dictTable = "tig_product", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "所属产品")
    private java.lang.String productId;
    /**市电报警次数*/
    @Excel(name = "市电报警次数", width = 15)
    @ApiModelProperty(value = "市电报警次数")
    private java.lang.Integer cityWarnCount;
    /**主电压报警次数*/
    @Excel(name = "主电压报警次数", width = 15)
    @ApiModelProperty(value = "主电压报警次数")
    private java.lang.Integer mainVolWarnCount;
    /**备电压报警次数*/
    @Excel(name = "备电压报警次数", width = 15)
    @ApiModelProperty(value = "备电压报警次数")
    private java.lang.Integer bakVolWarnCount;
    /**电流报警次数*/
    @Excel(name = "电流报警次数", width = 15)
    @ApiModelProperty(value = "电流报警次数")
    private java.lang.Integer curWarnCount;
    /**温度报警次数*/
    @Excel(name = "温度报警次数", width = 15)
    @ApiModelProperty(value = "温度报警次数")
    private java.lang.Integer tempWarnCount;
    /**ups报警次数*/
    @Excel(name = "ups报警次数", width = 15)
    @ApiModelProperty(value = "ups报警次数")
    private java.lang.Integer upsWarnCount;
    @Excel(name = "通道报警次数", width = 15)
    @ApiModelProperty(value = "通道报警次数")
    private java.lang.Integer otherWarnCount;
    /**最新报警时间*/
    @Excel(name = "最新报警时间", width = 15)
    @ApiModelProperty(value = "最新报警时间")
    private java.lang.String strWarnData;
}
